package com.sun.test.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @author zhangquanwei
 * @version 1.0
 * @date 2024-12-20 11:18
 */
@Configuration
public class WebMvcConfig implements WebMvcConfigurer {
    //public void addResourcesHandlers(ResourceHandlerRegistry registry) {
    //    registry.addResourceHandler("/files/**").addResourceLocations("file:D:/files/");
    //}
}
